package web

import (
	"go-ddd/internal/supplier"
)

func withRouter(s *WebServer) {
	supplierHandler := supplier.NewSupplierHandler(s.Apps.Supplier)
	auth := s.Engin.Group("/auth")
	auth.GET("/name", supplierHandler.GetSupplierName)
}
